/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * IRegistroPagoCliente.java
 *
 * Created on 30/11/2012, 04:37:31 PM
 */
package gui;

/**
 *
 * @author Administrador
 */
public class IRegistroPagoCliente extends javax.swing.JInternalFrame {

    /** Creates new form IRegistroPagoCliente */
    public IRegistroPagoCliente() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        pnlSuperior = new javax.swing.JPanel();
        lblTitulo = new javax.swing.JLabel();
        mnuBarSuperior = new javax.swing.JToolBar();
        btnGrabar = new javax.swing.JButton();
        jSeparator2 = new javax.swing.JToolBar.Separator();
        btnCancelar = new javax.swing.JButton();
        jSeparator1 = new javax.swing.JToolBar.Separator();
        btnImprimirComprobante = new javax.swing.JButton();
        pnlCentral = new javax.swing.JPanel();
        pnlPagosRecibidos = new javax.swing.JPanel();
        pnlPagosRecibidosToolBar = new javax.swing.JPanel();
        lblPagosRecibidos = new javax.swing.JLabel();
        mnuBarCentral = new javax.swing.JToolBar();
        btnAniadir = new javax.swing.JButton();
        btnEliminar = new javax.swing.JButton();
        scrPagosRecibidos = new javax.swing.JScrollPane();
        tblPagosRecibidos = new javax.swing.JTable();
        pnlTotal = new javax.swing.JPanel();
        lblTotal = new javax.swing.JLabel();
        txtTotal = new javax.swing.JTextField();
        pnlPagoParc = new javax.swing.JPanel();
        tbpPagoParcial = new javax.swing.JTabbedPane();
        pnlPagoParcialInterno = new javax.swing.JPanel();
        mnuToolBarPagoParcial = new javax.swing.JToolBar();
        btnSeleccionarTodo = new javax.swing.JButton();
        btnDeseleccionar = new javax.swing.JButton();
        separador = new javax.swing.JToolBar.Separator();
        btnActivar = new javax.swing.JButton();
        btnDesactivar = new javax.swing.JButton();
        scrPagoParcial = new javax.swing.JScrollPane();
        tblPagoParcial = new javax.swing.JTable();
        pnlInferior = new javax.swing.JPanel();
        lblEstatusTratamiento = new javax.swing.JLabel();
        pnlInferiorDatos = new javax.swing.JPanel();
        lblImpEntrado = new javax.swing.JLabel();
        txtImpEntrado = new javax.swing.JTextField();
        lblAsig = new javax.swing.JLabel();
        txtAsig = new javax.swing.JTextField();
        lblSinAsignar = new javax.swing.JLabel();
        txtSinAsignar = new javax.swing.JTextField();
        lblPartidasSel = new javax.swing.JLabel();
        txtPartidasSel = new javax.swing.JTextField();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Registro de pago de cliente:");

        pnlSuperior.setLayout(new java.awt.BorderLayout());

        lblTitulo.setBackground(new java.awt.Color(175, 200, 222));
        lblTitulo.setFont(new java.awt.Font("Tahoma", 0, 18));
        lblTitulo.setText("Registro de pago de cliente:");
        lblTitulo.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 5, 1, 1));
        lblTitulo.setOpaque(true);
        pnlSuperior.add(lblTitulo, java.awt.BorderLayout.PAGE_START);

        mnuBarSuperior.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        mnuBarSuperior.setFloatable(false);
        mnuBarSuperior.setRollover(true);

        btnGrabar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/guardar_32.png"))); // NOI18N
        btnGrabar.setText("Grabar");
        btnGrabar.setFocusable(false);
        btnGrabar.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnGrabar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGrabarActionPerformed(evt);
            }
        });
        mnuBarSuperior.add(btnGrabar);
        mnuBarSuperior.add(jSeparator2);

        btnCancelar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/eliminar_24.gif"))); // NOI18N
        btnCancelar.setText("Cancelar");
        btnCancelar.setFocusable(false);
        btnCancelar.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnCancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarActionPerformed(evt);
            }
        });
        mnuBarSuperior.add(btnCancelar);
        mnuBarSuperior.add(jSeparator1);

        btnImprimirComprobante.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/icon-imprimir.png"))); // NOI18N
        btnImprimirComprobante.setText("Imprimir comprobante");
        btnImprimirComprobante.setFocusable(false);
        btnImprimirComprobante.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        btnImprimirComprobante.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnImprimirComprobanteActionPerformed(evt);
            }
        });
        mnuBarSuperior.add(btnImprimirComprobante);

        pnlSuperior.add(mnuBarSuperior, java.awt.BorderLayout.CENTER);

        getContentPane().add(pnlSuperior, java.awt.BorderLayout.PAGE_START);

        pnlCentral.setLayout(new java.awt.BorderLayout());

        pnlPagosRecibidos.setLayout(new java.awt.BorderLayout());

        pnlPagosRecibidosToolBar.setLayout(new java.awt.GridLayout(2, 1));

        lblPagosRecibidos.setBackground(new java.awt.Color(175, 200, 222));
        lblPagosRecibidos.setFont(new java.awt.Font("Tahoma", 1, 11));
        lblPagosRecibidos.setText("Pagos recibidos");
        lblPagosRecibidos.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 5, 1, 1));
        lblPagosRecibidos.setMaximumSize(new java.awt.Dimension(94, 14));
        lblPagosRecibidos.setMinimumSize(new java.awt.Dimension(94, 14));
        lblPagosRecibidos.setOpaque(true);
        lblPagosRecibidos.setPreferredSize(new java.awt.Dimension(94, 14));
        pnlPagosRecibidosToolBar.add(lblPagosRecibidos);

        mnuBarCentral.setBackground(new java.awt.Color(175, 200, 222));
        mnuBarCentral.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
        mnuBarCentral.setFloatable(false);
        mnuBarCentral.setRollover(true);

        btnAniadir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/aniadir.png"))); // NOI18N
        btnAniadir.setFocusable(false);
        btnAniadir.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnAniadir.setOpaque(false);
        btnAniadir.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        btnAniadir.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAniadirActionPerformed(evt);
            }
        });
        mnuBarCentral.add(btnAniadir);

        btnEliminar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/eliminar.png"))); // NOI18N
        btnEliminar.setFocusable(false);
        btnEliminar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnEliminar.setOpaque(false);
        btnEliminar.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        btnEliminar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEliminarActionPerformed(evt);
            }
        });
        mnuBarCentral.add(btnEliminar);

        pnlPagosRecibidosToolBar.add(mnuBarCentral);

        pnlPagosRecibidos.add(pnlPagosRecibidosToolBar, java.awt.BorderLayout.PAGE_START);

        scrPagosRecibidos.setMaximumSize(new java.awt.Dimension(32767, 120));
        scrPagosRecibidos.setPreferredSize(new java.awt.Dimension(452, 80));

        tblPagosRecibidos.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        scrPagosRecibidos.setViewportView(tblPagosRecibidos);

        pnlPagosRecibidos.add(scrPagosRecibidos, java.awt.BorderLayout.CENTER);

        pnlTotal.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));

        lblTotal.setFont(new java.awt.Font("Tahoma", 1, 11));
        lblTotal.setText("Total:");
        pnlTotal.add(lblTotal);

        txtTotal.setBackground(new java.awt.Color(175, 200, 222));
        txtTotal.setMinimumSize(new java.awt.Dimension(120, 20));
        txtTotal.setPreferredSize(new java.awt.Dimension(120, 20));
        pnlTotal.add(txtTotal);

        pnlPagosRecibidos.add(pnlTotal, java.awt.BorderLayout.PAGE_END);

        pnlCentral.add(pnlPagosRecibidos, java.awt.BorderLayout.PAGE_START);

        pnlPagoParc.setLayout(new java.awt.BorderLayout());

        pnlPagoParcialInterno.setLayout(new java.awt.BorderLayout());

        mnuToolBarPagoParcial.setBackground(new java.awt.Color(175, 200, 222));
        mnuToolBarPagoParcial.setFloatable(false);
        mnuToolBarPagoParcial.setRollover(true);

        btnSeleccionarTodo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/seleccionar_todos.png"))); // NOI18N
        btnSeleccionarTodo.setFocusable(false);
        btnSeleccionarTodo.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnSeleccionarTodo.setOpaque(false);
        btnSeleccionarTodo.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        btnSeleccionarTodo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSeleccionarTodoActionPerformed(evt);
            }
        });
        mnuToolBarPagoParcial.add(btnSeleccionarTodo);

        btnDeseleccionar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/deseleccionar.png"))); // NOI18N
        btnDeseleccionar.setFocusable(false);
        btnDeseleccionar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnDeseleccionar.setOpaque(false);
        btnDeseleccionar.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        btnDeseleccionar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnDeseleccionarActionPerformed(evt);
            }
        });
        mnuToolBarPagoParcial.add(btnDeseleccionar);
        mnuToolBarPagoParcial.add(separador);

        btnActivar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/actiivar.png"))); // NOI18N
        btnActivar.setFocusable(false);
        btnActivar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnActivar.setOpaque(false);
        btnActivar.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        btnActivar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnActivarActionPerformed(evt);
            }
        });
        mnuToolBarPagoParcial.add(btnActivar);

        btnDesactivar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/desactivar.png"))); // NOI18N
        btnDesactivar.setFocusable(false);
        btnDesactivar.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnDesactivar.setOpaque(false);
        btnDesactivar.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        btnDesactivar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnDesactivarActionPerformed(evt);
            }
        });
        mnuToolBarPagoParcial.add(btnDesactivar);

        pnlPagoParcialInterno.add(mnuToolBarPagoParcial, java.awt.BorderLayout.PAGE_START);

        scrPagoParcial.setBorder(null);

        tblPagoParcial.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        scrPagoParcial.setViewportView(tblPagoParcial);

        pnlPagoParcialInterno.add(scrPagoParcial, java.awt.BorderLayout.CENTER);

        tbpPagoParcial.addTab("Pago Parc.", pnlPagoParcialInterno);

        pnlPagoParc.add(tbpPagoParcial, java.awt.BorderLayout.CENTER);

        pnlCentral.add(pnlPagoParc, java.awt.BorderLayout.CENTER);

        getContentPane().add(pnlCentral, java.awt.BorderLayout.CENTER);

        pnlInferior.setLayout(new java.awt.BorderLayout());

        lblEstatusTratamiento.setBackground(new java.awt.Color(175, 200, 222));
        lblEstatusTratamiento.setFont(new java.awt.Font("Tahoma", 1, 11));
        lblEstatusTratamiento.setText("Estatus de tratamiento");
        lblEstatusTratamiento.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 5, 1, 1));
        lblEstatusTratamiento.setOpaque(true);
        pnlInferior.add(lblEstatusTratamiento, java.awt.BorderLayout.PAGE_START);

        pnlInferiorDatos.setBackground(new java.awt.Color(255, 255, 255));
        pnlInferiorDatos.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));

        lblImpEntrado.setText("Imp. Entrado:");
        pnlInferiorDatos.add(lblImpEntrado);

        txtImpEntrado.setBackground(new java.awt.Color(175, 200, 222));
        txtImpEntrado.setEditable(false);
        txtImpEntrado.setHorizontalAlignment(javax.swing.JTextField.LEFT);
        txtImpEntrado.setMinimumSize(new java.awt.Dimension(100, 20));
        txtImpEntrado.setPreferredSize(new java.awt.Dimension(100, 20));
        pnlInferiorDatos.add(txtImpEntrado);

        lblAsig.setText("Asig:");
        pnlInferiorDatos.add(lblAsig);

        txtAsig.setBackground(new java.awt.Color(175, 200, 222));
        txtAsig.setMinimumSize(new java.awt.Dimension(100, 20));
        txtAsig.setPreferredSize(new java.awt.Dimension(100, 20));
        pnlInferiorDatos.add(txtAsig);

        lblSinAsignar.setText("Sin asginar:");
        pnlInferiorDatos.add(lblSinAsignar);

        txtSinAsignar.setBackground(new java.awt.Color(175, 200, 222));
        txtSinAsignar.setMinimumSize(new java.awt.Dimension(100, 20));
        txtSinAsignar.setPreferredSize(new java.awt.Dimension(100, 20));
        pnlInferiorDatos.add(txtSinAsignar);

        lblPartidasSel.setText("Partidas Sel:");
        pnlInferiorDatos.add(lblPartidasSel);

        txtPartidasSel.setBackground(new java.awt.Color(175, 200, 222));
        txtPartidasSel.setMinimumSize(new java.awt.Dimension(100, 20));
        txtPartidasSel.setPreferredSize(new java.awt.Dimension(100, 20));
        pnlInferiorDatos.add(txtPartidasSel);

        pnlInferior.add(pnlInferiorDatos, java.awt.BorderLayout.CENTER);

        getContentPane().add(pnlInferior, java.awt.BorderLayout.PAGE_END);

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void btnGrabarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGrabarActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnGrabarActionPerformed

private void btnCancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnCancelarActionPerformed

private void btnImprimirComprobanteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnImprimirComprobanteActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnImprimirComprobanteActionPerformed

private void btnAniadirActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAniadirActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnAniadirActionPerformed

private void btnEliminarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEliminarActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnEliminarActionPerformed

private void btnSeleccionarTodoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSeleccionarTodoActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnSeleccionarTodoActionPerformed

private void btnDeseleccionarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDeseleccionarActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnDeseleccionarActionPerformed

private void btnActivarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnActivarActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnActivarActionPerformed

private void btnDesactivarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDesactivarActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnDesactivarActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnActivar;
    private javax.swing.JButton btnAniadir;
    private javax.swing.JButton btnCancelar;
    private javax.swing.JButton btnDesactivar;
    private javax.swing.JButton btnDeseleccionar;
    private javax.swing.JButton btnEliminar;
    private javax.swing.JButton btnGrabar;
    private javax.swing.JButton btnImprimirComprobante;
    private javax.swing.JButton btnSeleccionarTodo;
    private javax.swing.JToolBar.Separator jSeparator1;
    private javax.swing.JToolBar.Separator jSeparator2;
    private javax.swing.JLabel lblAsig;
    private javax.swing.JLabel lblEstatusTratamiento;
    private javax.swing.JLabel lblImpEntrado;
    private javax.swing.JLabel lblPagosRecibidos;
    private javax.swing.JLabel lblPartidasSel;
    private javax.swing.JLabel lblSinAsignar;
    private javax.swing.JLabel lblTitulo;
    private javax.swing.JLabel lblTotal;
    private javax.swing.JToolBar mnuBarCentral;
    private javax.swing.JToolBar mnuBarSuperior;
    private javax.swing.JToolBar mnuToolBarPagoParcial;
    private javax.swing.JPanel pnlCentral;
    private javax.swing.JPanel pnlInferior;
    private javax.swing.JPanel pnlInferiorDatos;
    private javax.swing.JPanel pnlPagoParc;
    private javax.swing.JPanel pnlPagoParcialInterno;
    private javax.swing.JPanel pnlPagosRecibidos;
    private javax.swing.JPanel pnlPagosRecibidosToolBar;
    private javax.swing.JPanel pnlSuperior;
    private javax.swing.JPanel pnlTotal;
    private javax.swing.JScrollPane scrPagoParcial;
    private javax.swing.JScrollPane scrPagosRecibidos;
    private javax.swing.JToolBar.Separator separador;
    private javax.swing.JTable tblPagoParcial;
    private javax.swing.JTable tblPagosRecibidos;
    private javax.swing.JTabbedPane tbpPagoParcial;
    private javax.swing.JTextField txtAsig;
    private javax.swing.JTextField txtImpEntrado;
    private javax.swing.JTextField txtPartidasSel;
    private javax.swing.JTextField txtSinAsignar;
    private javax.swing.JTextField txtTotal;
    // End of variables declaration//GEN-END:variables
}
